package com.ruoyi.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分数线对象 major_grade
 * 
 * @author ruoyi
 * @date 2024-01-25
 */
public class MajorGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long gradeId;

    /** 学校 */
    @Excel(name = "学校")
    private String gradeSchool;

    /** 专业 */
    @Excel(name = "专业")
    private String gradeMajor;

    /** 年份 */
    @Excel(name = "年份")
    private String gradeYear;

    /** 总分 */
    @Excel(name = "总分")
    private Long gradeSum;

    /** 政治 */
    private Long gradePol;

    /** 英语 */
    private Long gradeEng;

    /** 业务课一 */
    private Long gradeOne;

    /** 业务课二 */
    private Long gradeTwo;

    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setGradeSchool(String gradeSchool) 
    {
        this.gradeSchool = gradeSchool;
    }

    public String getGradeSchool() 
    {
        return gradeSchool;
    }
    public void setGradeMajor(String gradeMajor) 
    {
        this.gradeMajor = gradeMajor;
    }

    public String getGradeMajor() 
    {
        return gradeMajor;
    }
    public void setGradeYear(String gradeYear) 
    {
        this.gradeYear = gradeYear;
    }

    public String getGradeYear() 
    {
        return gradeYear;
    }
    public void setGradeSum(Long gradeSum) 
    {
        this.gradeSum = gradeSum;
    }

    public Long getGradeSum() 
    {
        return gradeSum;
    }
    public void setGradePol(Long gradePol) 
    {
        this.gradePol = gradePol;
    }

    public Long getGradePol() 
    {
        return gradePol;
    }
    public void setGradeEng(Long gradeEng) 
    {
        this.gradeEng = gradeEng;
    }

    public Long getGradeEng() 
    {
        return gradeEng;
    }
    public void setGradeOne(Long gradeOne) 
    {
        this.gradeOne = gradeOne;
    }

    public Long getGradeOne() 
    {
        return gradeOne;
    }
    public void setGradeTwo(Long gradeTwo) 
    {
        this.gradeTwo = gradeTwo;
    }

    public Long getGradeTwo() 
    {
        return gradeTwo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gradeId", getGradeId())
            .append("gradeSchool", getGradeSchool())
            .append("gradeMajor", getGradeMajor())
            .append("gradeYear", getGradeYear())
            .append("gradeSum", getGradeSum())
            .append("gradePol", getGradePol())
            .append("gradeEng", getGradeEng())
            .append("gradeOne", getGradeOne())
            .append("gradeTwo", getGradeTwo())
            .toString();
    }
}
